Skip to main content

08IR Car

Introduction:

TabbyBot car is equipped with an infrared receiver that can receive data from a corresponding remote control. Let's create an infrared remote-controlled car.

image-20240207122050055

Objectives:

  1. Master the usage of the infrared receiver function.
  2. Master the programming logic for the infrared remote-controlled car.

Code:

https://makecode.microbit.org/S79054-15765-29938-85552

When the car receives different infrared signals, it performs movements in four directions: forward, backward, left, and right.

IR

Actual Result